package com.h6.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.h6.crm.entity.Contract;

@Mapper
public interface ContractMapper extends BaseMapper<Contract> {

    Contract getContractDetailById(@Param("contractId") String contractId);

    List<Contract> queryContractListByProjectId(@Param("projectId") Long projectId);

    Integer countByBrand(@Param("brandShortening") String brandShortening);

}
